// +build wireinject

// The build tag makes sure the stub is not built in the final build.

package main

import (
	"github.com/gin-gonic/gin"
	"github.com/google/wire"
	"xiaofei-demo/app/service/internal/biz"
	"xiaofei-demo/app/service/internal/data"
	"xiaofei-demo/app/service/internal/server"
	"xiaofei-demo/app/service/internal/service"
)

// initApp
func initApp(r *gin.Engine) error {
	panic(wire.Build(data.ProviderSet, biz.ProviderSet, service.ProviderSet, server.ProviderSet))
}
